/*
	Homepage: http://snipt.org
	Description: For use when interacting with the snipt.org API
	Version: 1.0
	Author: Dan Wasyluk

  	Copyright 2009 Dan Wasyluk / Snipt.org 

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
*/

package org.snipt.api.vo {
	public class SniptTheme {
		
		public var themeID:Number;
		public var themeName:String;
		public var fontSize:String;
		public var font:String;
		public var overallColor:String;
		public var varColor:String;
		public var keywordColor:String;
		public var methodColor:String;
		public var commentColor:String;
		public var stringColor:String;
		public var numberColor:String;
		public var symbolColor:String;
		public var escColor:String;
		public var bgColor:String;
		
		public function SniptTheme(generic:Object = null) {
			trace("THEME!");
			if(generic != null) {
				this.themeID = generic.themeID
				this.themeName = generic.themeName;
				this.fontSize = generic.fontSize;
				this.font = generic.font;
				this.overallColor = generic.overallColor;
				this.varColor = generic.varColor;
				this.keywordColor = generic.keywordColor;
				this.methodColor = generic.methodColor;
				this.commentColor = generic.commentColor;
				this.stringColor = generic.stringColor;
				this.numberColor = generic.numberColor;
				this.symbolColor = generic.symbolColor;
				this.escColor = generic.escColor;
				this.bgColor = generic.bgColor;
				trace("Set bg: " + this.bgColor);
			}
		}

	}
}